P+ - Donkey Kong - Action - 0x116 Final
Entry Script
- FinalSmashEnter
- UnknownEvent { namespace: 0x1f, code: 0x11, unk1: 0x0, arguments: [Value(2)] }
- GenerateArticle { article_id: 0, subaction_only: true }
- CreateInterrupt { interrupt_id: None, action: 0x133, requirement: (AnimationEnd) }
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirection) }
- if ((InternalConstantInt(CharacterDirection) Equal scalar(1)))
- IntVariableSet { variable: RandomAccessInt (0xb), value: 502 }
- IntVariableSet { variable: RandomAccessInt (0xc), value: 504 }
- IntVariableSet { variable: RandomAccessInt (0xd), value: 1 }
- IntVariableSet { variable: RandomAccessInt (0xe), value: 3 }
- else
- IntVariableSet { variable: RandomAccessInt (0xb), value: 501 }
- IntVariableSet { variable: RandomAccessInt (0xc), value: 503 }
- IntVariableSet { variable: RandomAccessInt (0xd), value: 0 }
- IntVariableSet { variable: RandomAccessInt (0xe), value: 2 }
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 11 }), Bool(true)] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 13 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 11 }), Bool(false)] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 13 }), Bool(false)] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 12 }), Bool(true)] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 14 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 12 }), Bool(false)] }
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 14 }), Bool(false)] }
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- if ((InternalConstantInt(CurrentAction) NotEqual scalar(307)))
- FinalSmashExit
- if ((RandomAccessFloat(EnableTurnWhenBelowZero) Equal scalar(-1)))
- Posture(2)
- Posture(4)